package com.qqtech.qquan.user.dao;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.qqtech.core.frame.dao.BaseDao;
import com.qqtech.qquan.user.model.UserMoneyLog;
import com.qqtech.qquan.user.model.UserMoneyLogQuery;
import com.qqtech.qquan.user.model.UserMoneyLogVo;

public interface UserMoneyLogDao extends BaseDao<UserMoneyLog> {
	/**
	 * 后台查询记录数
	 * @param query
	 * @return
	 */
	public int queryCountAdmin(UserMoneyLogQuery query);
	
	/**
	 * 后台查询 -分页
	 * @param query
	 * @param pageable
	 * @return
	 */
	public Page<UserMoneyLogVo> queryPageListAdmin(UserMoneyLogQuery query, Pageable pageable);
	
	/**
	 * 后台查询 -不分页
	 * @param query
	 * @param pageable
	 * @return
	 */
	public List<UserMoneyLogVo> queryListAdmin(UserMoneyLogQuery query, Pageable pageable);
}
